package com.niit.ai.dl.dltrain.web.model;

import com.niit.ai.dl.dltrain.dao.model.Model;

import javax.validation.constraints.NotNull;

public class UpdateModelReq {
    @NotNull
    private Model model;

    public Model getModel() {
        return model;
    }

    public void setModel(Model model) {
        this.model = model;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("ModifyModelReq{");
        sb.append("model=").append(model);
        sb.append('}');
        return sb.toString();
    }
}
